<include file="Public/top" title = "里程密-网站配置" />
        <!-- start left -->
<include file="Public/left"/>
         <!-- end left -->
        <div id="page-wrapper" class="gray-bg dashbard-1">
        <div class="row wrapper border-bottom white-bg page-heading">
                <div class="col-lg-10">
                    <h2>网站配置</h2>
                </div>
                <div class="col-lg-2">

                </div>
            </div>
        <div class="row">
            <div class="col-lg-12">
                   <div class="col-lg-12">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <!-- <h5>All form elements <small>With custom checbox and radion elements.</small></h5> -->
                            <div class="ibox-tools">
                                <a class="collapse-link">
                                    <i class="fa fa-chevron-up"></i>
                                </a>
                                <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                                    <i class="fa fa-wrench"></i>
                                </a>
                                <ul class="dropdown-menu dropdown-user">
                                    <li><a href="#">Config option 1</a>
                                    </li>
                                    <li><a href="#">Config option 2</a>
                                    </li>
                                </ul>
                                <a class="close-link">
                                    <i class="fa fa-times"></i>
                                </a>
                            </div>
                        </div>
                        <div class="ibox-content">
                            <form method="post" class="form-horizontal" action="__URL__/doedit/id/{$arr.id}" enctype="multipart/form-data">
                                <div class="form-group has-success"><label class="col-sm-4 control-label">网站标题</label>

                                    <div class="col-sm-8"><input type="text" class="form-control" name="title" required value = "{$arr.title}"></div>
                                </div>
                                <div class="form-group has-success"><label class="col-sm-4 control-label">网站名称</label>

                                    <div class="col-sm-8"><input type="text" class="form-control" name="name" required value = "{$arr.name}"></div>
                                </div>
                                <div class="form-group has-success"><label class="col-sm-4 control-label">LOGO下方小标题</label>

                                    <div class="col-sm-8"><input type="text" class="form-control" name="set_content" required value = "{$arr.set_content}"></div>
                                </div>
                                <div class="form-group has-success"><label class="col-sm-4 control-label">管理员邮箱</label>

                                    <div class="col-sm-8"><input type="text" class="form-control" name="admin_email" required value = "{$arr.admin_email}"></div>
                                </div>
                                <div class="form-group has-success"><label class="col-sm-4 control-label">网站关键字</label>
                                    <div class="col-sm-8"><textarea name = "keywords" required class="form-control">{$arr.keywords}</textarea></div>
                                </div>
                                <div class="form-group has-success"><label class="col-sm-4 control-label">网站描述</label>
                                    <div class="col-sm-8"><textarea name = "description" required class="form-control">{$arr.description}</textarea></div>
                                </div>
                                <div class="form-group has-success"><label class="col-sm-4 control-label">网站LOGO</label>
                                    <div class="col-sm-3"><input type="file" name="logo"></div>
                                </div>
                                     <div class="hr-line-dashed"></div>
                                <div class="form-group has-success"><label class="col-sm-4 control-label">注册是否需要注册码</label>
                                    <div class="col-sm-3">
                                        <select name="userStatus">
                                            <option value="0" <if condition = "$arr.userstatus eq 0">selected</if>>不需要</option>
                                            <option value="1" <if condition = "$arr.userstatus eq 1">selected</if>>需要</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group has-success"><label class="col-sm-4 control-label">发表文章是否需要审核</label>
                                    <div class="col-sm-3">
                                        <select name="articleSatus">
                                            <option value="0" <if condition = "$arr.articlesatus eq 0">selected</if>>不需要</option>
                                            <option value="1" <if condition = "$arr.articlesatus eq 1">selected</if>>需要</option>
                                        </select>
                                    </div>
                                </div>
                                </div>
                               <div class="ibox-content">
                            <div class="text-center">
                            <input type="submit" value="保存" class="btn btn-primary" data-toggle="modal">
                            </div>

                    </div>
                            </form>
                        </div>
                    </div>
                </div>

            </div>
    <!-- start footer -->
                    <include file="Public/footer" />
            <!-- end footer -->
        </div>

